package person.drf.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import person.drf.common.utils.PageUtils;
import person.drf.shop.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu
 *
 * @author dengrunfa
 * @email 1270733328@qq.com
 * @date 2020-04-07 15:45:24
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect);

    List<ProductAttrValueEntity> baseAttrListforSpu(Long supId);

    void updateSpuAttr(Long supId, List<ProductAttrValueEntity> entities);
}

